<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@include file="/pageRc/common/common.jsp"%>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>需求管理</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet"	href="<%=commonPath %>/pageRc/layui/css/layui.css" media="all">
  <script type="text/javascript" src="<%=commonPath %>/pageRc/js/jquery-1.9.1.min.js"></script> 
  <link rel="stylesheet" href="../../res/css/global.css">
</head>
<body>

<div class="header">
  <div class="main">
    <a class="logo"  title="Fly">
    	<img src="<%=commonPath %>/res/images/logo.png">
    </a> 
    <div class="nav"> 
    </div>
     <div class="nav-user">      
      <!-- 登入后的状态 -->
      <div class="nav">
         <a href="<%=commonPath %>/page/login/loginWechat.do"><i class="iconfont icon-tuichu" style="top: 0; font-size: 22px;"></i>退了</a>
      </div>
     </div>
  </div>
</div>
     <button class="layui-btn">
				              <a href="<%=commonPath %>/page/need/doMakeNeed.do">
	 			              	<i class="layui-icon">&#xe654;</i>添加需求
				              </a>
			              </button>
<div class="main fly-user-main layui-clear">   
  <div class="fly-panel fly-panel-user" pad20>
     <div class="layui-tab layui-tab-brief" lay-filter="user">
       <div class="layui-tab-content" style="padding: 20px 0;">
  
       	  <div class="layui-tab-item layui-show"> 
		          <ul class="mine-view jie-row">
		          
		          <c:forEach items="${needList}" var="need" >
		          <c:if test="${need.state != '02'}">
   		          		<li>  
			              <a class="jie-title" href="<%=commonPath %>/page/need/${need.rouid}/doUpdateNeedInfor.do" target="_blank" >${need.needNo},${need.needName}
			              <i> </i>
			              <c:if test="${need.state == '00'}"><a class="mine-edit" href="<%=commonPath %>/page/need/${need.rouid}/doUpdateNeedInfor.do">待审核</a></c:if>
			              </a>
		 	            </li>
		 	            </c:if>
 		 	         </c:forEach>
		          
		             
		         	 <%-- <c:forEach items="${needList}" var="need" >
   		          		<li>  
			              <a class="jie-title" href="<%=commonPath %>/page/need/${need.rouid}/doUpdateNeedInfor.do" target="_blank" >${need.needNo},${need.needName}
			              <i> </i>
			              <c:if test="${need.state == '00'}"><a class="mine-edit" href="<%=commonPath %>/page/need/${need.rouid}/doUpdateNeedInfor.do">待审核</a></c:if>
			              <c:if test="${need.state == '02'}"><a class="mine-edit" href="javascript:void(0)">已关闭</a></c:if>
			              </a>
		 	            </li>
 		 	         </c:forEach> --%>    
 		 	         <li>   
 			              
		 	         </li>
		          </ul>
		  </div>
       </div>
    </div>
  </div>
</div> 
<script src="../../res/layui/layui.js"></script>
<script>
layui.cache.page = 'user';

layui.config({
  version: "2.0.0"
  ,base: '../../res/mods/'
}).extend({
  fly: 'index'
}).use('fly');
 layui.use(
		[ 'form', 'layer'],
		 function(){
			var $ = layui.jquery, layer = layui.layer; //独立版的layer无需执行这一句
			
			  var active = {
					  showCondition:function(){   //搜索
		        			 layer.promtp({title:"可以根据需求编号或需求名称",formType:1},function(pass,index){
		        				 alert(pass)
		        			 });
		        		}
			  }
		       $('.layui-btn').on('click', function(){
		            var othis = $(this), method = othis.data('method');
		            active[method] ? active[method].call(this, othis) : '';
		          }); 	 	  
});
function showCondition(){
 	
}
</script>
<script> 

</script>
</body>
</html>